//
//  IMDraftMessage.m
//  MLIM
//
//  Created by molon on 15/6/27.
//  Copyright (c) 2015年 molon. All rights reserved.
//

#import "IMTextDraftMessage.h"
#import "IMCommon.h"

@implementation IMTextDraftMessage

- (id)simpleDescription
{
    static NSString *textDraftPrefix = @"[草稿] ";
    
    NSAttributedString *draftSign = [[NSAttributedString alloc]initWithString:textDraftPrefix attributes:@{NSForegroundColorAttributeName:IM_RED_TEXT_COLOR}];
    
    NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc]initWithString:self.content];
    [attrStr insertAttributedString:draftSign atIndex:0];
    
    return attrStr;
}

@end
